﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace todo.EntityFramework.FromBody
{
    public class FMBooksInsertModel
    {
        /// <summary>
        /// 书名 
        ///</summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型，多个标签 
        ///</summary>
        public string Type { get; set; }
        /// <summary>
        /// 豆瓣地址 
        ///</summary>
        public string Url { get; set; }
        /// <summary>
        /// 评分 
        ///</summary>
        public decimal? Socre { get; set; }
        /// <summary>
        /// 作者 
        ///</summary>
        public string Author { get; set; }
        /// <summary>
        /// 页数 
        ///</summary>
        public int? Pages { get; set; }
        /// <summary>
        /// ISBN 
        ///</summary>
        public string Isbn { get; set; }
        /// <summary>
        /// 下载地址 
        ///</summary>
        public string File { get; set; }
        /// <summary>
        /// 内容简介 
        ///</summary>
        public string ContentValidity { get; set; }
        /// <summary>
        /// 是否完成 
        /// 默认值: b'0'
        ///</summary>
        public bool IsFinish { get; set; }
        /// <summary>
        /// 是否显示 
        /// 默认值: b'1'
        ///</summary>
        public bool IsShow { get; set; }
        /// <summary>
        /// 添加书籍的用户ID 
        ///</summary>
        public int? UserId { get; set; }
    }
}
